<?php
/*
 * Vlabs Biological Web Elemments
 *
 * Copyright (c) 2009 Victor de la Torre (vdelatorre@cnio.es)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 * 
 * http://code.google.com/p/bwe/ 
 *
 */
  function loadJs($file){
  	echo '<script type="text/javascript" src="'.$file.'"></script>'."\n";
  }	
  
  function loadCss($file){
  	echo '<link type="text/css" rel="stylesheet" href="'.$file.'" />'."\n";
  }	
 

  $bweBase	= 'http://ubio.bioinfo.cnio.es/biotools/bwe/';
  /* $bweBase	= 'http://localhost/bwe/';	 */
    	
  /* Css */
  loadCss($bweBase.'css/bwe.css');
  loadCss($bweBase.'ext/jquery-ui-1.7.2.custom/css/custom-theme/jquery-ui-1.7.2.custom.css');
  loadCss($bweBase.'ext/OpenLayers-2.8/theme/default/style.css');
  loadCss($bweBase.'ext/jScrollPane.css');
  
  /* Ext */
  loadJs($bweBase.'ext/webtoolkit.base64.js');
  loadJs($bweBase.'ext/OpenLayers-2.8/OpenLayers.js');
  loadJs($bweBase.'ext/genome-browser-0.31/javascript/Genomic.js');
  loadJs($bweBase.'ext/genome-browser-0.31/javascript/opengenes.js');
  loadJs($bweBase.'ext/jScrollPane.js');

  /* jQuery UI */
  loadJs($bweBase.'ext/jquery-ui-1.7.2.custom/js/jquery-ui-1.7.2.custom.min.js');

  /* Class */
  loadJs($bweBase.'core.js');
  loadJs($bweBase.'ihop.js');	
  loadJs($bweBase.'sequence.js');	
  loadJs($bweBase.'madasmap.js');	
  loadJs($bweBase.'fragkb.js');	
 ?>


